﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/1/1 17:00:01
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sector7.Restaurant.CoreType.Events
{
    /// <summary>
    /// 点击菜单项事件委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void ClickMenuItemEventHandler(object sender, ClickMenuItemEventArgs e);

    /// <summary>
    /// 点击菜单项事件参数
    /// </summary>
    public class ClickMenuItemEventArgs : EventArgs
    {
        private object _menuItem = null;

        public ClickMenuItemEventArgs(object menuItem)
        {
            _menuItem = menuItem;
        }

        /// <summary>
        /// 获取菜单项配置
        /// </summary>
        public object MenuItem
        {
            get { return _menuItem; }
        }
    }
}
